package cn.com.jtang.wedding.dao;

import java.util.List;
import java.util.Map;

import cn.com.jtang.wedding.model.Message;

public interface MessageDao {
	public String insert(Message message);
	
	public Message queryById(Long id);
	
	public int updateById(Long id, Message message);
	
	public int deleteById(Long id) ;
	
	public List queryAll(Map<String, Object> map, int start,int end, String... orderByStr);
	
	public int getCount(Map<String, Object> map);

}
